#ifndef TEST_H
#define TEST_H

#include <utility>
#include "WordsLine.h"


using namespace std;


class Test
{
  private:
    int d_present;
    int d_submitted;
    int d_found; 
    int d_correct;

    double d_recal;
    double d_precision;
    double d_fscore;


    int          matchAll(vector<Word> allwords1, vector<Word> allwords2, bool matchcontent);
    bool         contains(Word tocheck, vector<Word> allwords, bool matchcontent);
    double       computeWordzoneDistance(Word word1, Word word2);
    vector<Word> collectWords(vector<WordsLine> lines);

  public:

    Test(vector<WordsLine> outputlines ,vector<WordsLine> truthlines, bool matchcontent);
    Test(vector<Test> othertests);
    void printResults();
    string getResults();

   
};

#endif
